<?php
/**
 * Created by PhpStorm.
 * User: jswei
 * Date: 2018/4/24
 * Time: 9:13
 */

namespace app\admin\validate;
use think\Validate;

class Article extends Validate{
    protected $rule = [
        'mid'=>'require',
        'title'=>'require',
        'first_cate_id'=>'require',
        'twice_cate_id'=>'require',
        'content'=>'require',
        'location'=> 'require',
        'address'=> 'require',
        'city_id'=> 'require'
    ];
}